import ExpenseTypeComp from "containers/setting/expense-type/expense-type";
import ExpenseTypeDetailComp from "containers/setting/expense-type/new-expense-type/new-expense-type";

//费用类别
const ExpenseTypeMenu =   {
  key: 'expense-type',
  url: '/main/setting/expense-type',
  components: ExpenseTypeComp,
  parent: 'setting',
  children: {
    //费用类型详情
    expenseTypeDetail: {
      key: 'expense-type-detail',
      url: '/main/setting/expense-type/expense-type-detail/:expenseTypeId',
      components: ExpenseTypeDetailComp,
      parent: 'expense-type'
    },
    //新建费用类型
    newExpenseType: {
      key: 'new-expense-type',
      url: '/main/setting/expense-type/new-expense-type',
      components: ExpenseTypeDetailComp,
      parent: 'expense-type'
    },
    //复制费用类型
    copyExpenseType: {
      key: 'copy-expense-type',
      url: '/main/setting/expense-type/copy-expense-type/:expenseTypeId/:copy',
      components: ExpenseTypeDetailComp,
      parent: 'expense-type'
    }
  }
};
export default ExpenseTypeMenu;
